﻿<sdk:Page 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
  xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
  xmlns:ViewModels="clr-namespace:AR.ViewModels"
  xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.DomainServices" xmlns:Entities="clr-namespace:AR.Entities" xmlns:Services="clr-namespace:AR.Web.Services"
  x:Class="AR.Home"
  xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
  mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"  
  >
    <sdk:Page.Resources>
        <ViewModels:HomeViewModel x:Key="HomeViewModel" />
    </sdk:Page.Resources>
    <sdk:Page.Style>
        <StaticResource ResourceKey="PageStyle"/>
    </sdk:Page.Style>
    <Grid x:Name="LayoutRoot" DataContext="{Binding Source={StaticResource HomeViewModel}}">
      
        <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">

            <StackPanel x:Name="ContentStackPanel" Style="{StaticResource ContentStackPanelStyle}">

                <TextBlock x:Name="HeaderText" Style="{StaticResource HeaderTextStyle}" 
                           Text="{Binding Strings.HomePageTitle, Source={StaticResource ApplicationResources}}"/>
                <!--<ScrollViewer HorizontalAlignment="Stretch" Height="300">
                    <toolkit:DataForm x:Name="editForm"
                              ItemsSource="{Binding Candidats, Mode=TwoWay}"
                              CurrentItem="{Binding SelectedCandidat, Mode=TwoWay}" 
                              Header="Form" 
                              CommitButtonContent="Save" 
						      CancelButtonContent="Cancel" 
						      AutoCommit="False"
						      AutoGenerateFields="True"
					     	  CommandButtonsVisibility="Edit, Delete, Commit, Cancel" 
                             />
                </ScrollViewer>-->
                <!--<TextBox Height="23" HorizontalAlignment="Left" Margin="273,74,0,0" Name="fname" VerticalAlignment="Top" Width="120" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="276,134,0,0" Name="lname" VerticalAlignment="Top" Width="120" />-->
                <!--<Button Height="23" HorizontalAlignment="Left" Margin="234,192,0,0" Name="button1" VerticalAlignment="Top" Width="75" Content="ajouter" Click="addTaskButton_Click" />-->

            </StackPanel>

        </ScrollViewer>
    </Grid>

</sdk:Page>